﻿using ShanNiang.Hosting.Common;
using ShanNiang.Hosting.Enumerate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Service.PackingModels.Requests
{
    /// <summary>
    /// 查询托盘请求
    /// </summary>
    public class GetPalletRequest : RequestBase
    {
        public GetPalletRequest(string palletCode,Guid? enterpriseId)
        {
            PalletCode = palletCode;
            EnterpriseId = enterpriseId;
        }
        public string PalletCode { get; set; }
        public Guid? EnterpriseId { get; set; }
        public override ApiServer ApiServer => ApiServer.XkmServer;

        public override HttpMethod Method => HttpMethod.Get;

        public override bool NeedToken => true;

        protected override string RequestPath => "/api/Packing/GetPallet";
    }
}
